<template>
    <van-row>
  <van-col span="MINI.cn" class="span1">MINI.cn</van-col>
</van-row>
<van-dialog v-model:show="show" show-cancel-button Dialog showCancelButton confirm cancel>

</van-dialog>

</template>
<script setup lang="ts">
import router from '@/router';
import { Dialog } from 'vant';
import { onMounted, ref } from 'vue';
  
onMounted(() => {
    Dialog.confirm({
      message: '检测到您尚未填写基本信息，可\n能会影响您的购物体验，是否现\n在立即添加？',
      confirmButtonText:'立即添加',
      cancelButtonText:'先不了',
      title: '完善基本信息',
    }).then(()=>{
     
      router.push('/adduser')
    }).catch(()=>{
      console.log('首页');
      
    })
    const show = ref(false);
    return { show };
    
})
   
 

</script>
<style scoped>
.span1{
        margin-top: 3%;
        margin-left: 3%;
        color: white;
        font-weight: bold;
    }
</style>
 
